import NewMileageCostComp from "containers/mileage-subsidy-expense/new-mileage-cost";
import EditMileageCostComp from "containers/mileage-subsidy-expense/edit-mileage-cost";
import MileageSubsidyExpenseComp from "containers/mileage-subsidy-expense/mileage-subsidy-expense";

//里程补贴
const mileageSubsidyExpense = {
  key:'mileage-subsidy-expense',
  url: '/main/mileage-subsidy-expense',
  components: MileageSubsidyExpenseComp,
  icon: 'file-text',
  company: true,
  tenant: false,
  fpItem: ['mileage.subsidy.step'],
  fpValue: [true],
  children:{
    //新建&编辑费用
    newMileageCost:{
      key: 'new-mileage-cost',
      url: '/main/mileage-subsidy-expense/:order/:type/:invoiceOID',
      components: NewMileageCostComp,
      parent: 'mileage-subsidy-expense'
    },
    editMileageCost:{
      key: 'edit-mileage-cost',
      url: '/main/mileage-subsidy-expense/edit-mileage-cost',
      components: EditMileageCostComp,
      parent: 'mileage-subsidy-expense'
    }
  }
};

export default mileageSubsidyExpense
